package com.itheima;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication

@MapperScan("com.itheima.reggie.mapper")
@EnableTransactionManagement
@ServletComponentScan
@EnableCaching
public class SpringbootReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringbootReggieApplication.class,args);
    }
}
